package com.fivefu.core.hik.dto.request;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import java.lang.reflect.Array;
import java.util.List;

/**
 * 查询编码设备列表v2请求参数
 *
 * 查询监控点列表v2请求参数
 */
public class EncodeDeviceSearch {

    //(value = "名称")
    private String name;

    //(value = "区域编号")
    private String[] regionIndexCodes;

    //(value = "是否搜索regionIndexCodes及其子孙区域的资源")
    private Boolean isSubRegion;

    //(value = "当前页码",required = true)
    private Integer pageNo;

    //(value = "分页大小",required = true)
    private Integer pageSize;

    //(value = "权限码集合")
    private String[] authCodes;

    //(value = "查询表达式")
    private List<Expression> expressions;

    //(value = "排序字段")
    private String orderBy;

    //(value = "降序或升序,降序：desc 升序：asc")
    private String orderType;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String[] getRegionIndexCodes() {
        return regionIndexCodes;
    }

    public void setRegionIndexCodes(String[] regionIndexCodes) {
        this.regionIndexCodes = regionIndexCodes;
    }

    public Boolean getSubRegion() {
        return isSubRegion;
    }

    public void setSubRegion(Boolean subRegion) {
        isSubRegion = subRegion;
    }

    public String[] getAuthCodes() {
        return authCodes;
    }

    public void setAuthCodes(String[] authCodes) {
        this.authCodes = authCodes;
    }

    public List<Expression> getExpressions() {
        return expressions;
    }

    public void setExpressions(List<Expression> expressions) {
        this.expressions = expressions;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }
}
